package com.cskaoyan.bean.data;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @BelongsProject: project2_market_wx
 * @BelongsPackage: com.cskaoyan.bean.data
 * @Author: yu
 * @email: 3188480992@qq.com
 * @CreateTime: 2024-06-17  10:05
 * @Description: TODO
 * @Version: 1.0
 */
@NoArgsConstructor
@Data
public class RegisterData {

    @JsonProperty("userInfo")
    private UserInfo userInfo;
    @JsonProperty("token")
    private String token;

    @NoArgsConstructor
    @Data
    @AllArgsConstructor
    public static class UserInfo {
        @JsonProperty("nickName")
        private String nickName;
        @JsonProperty("avatarUrl")
        private String avatarUrl;
    }
}
